@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="topMenuInfoForm">

            <input type="hidden" id="id" value="">


            <div class="row">

                <div class="col-sm-6 b-r">
                    <#input id="name" name="栏目名称" underline="true" type="text" />
                    <#input id="code" name="栏目编号" underline="true" type="text" />
                    <#input id="parentName" name="父级栏目"  underline="true"
                            hidden="parentid" readonly="readonly"
                            clickFun="TopMenuInfoDlg.showMenuSelectTree(); return false;"
                            style="background-color: #ffffff !important;"
                            selectFlag="true" selectId="parentidTreeDiv" selectTreeId="parentidTree" selectStyle="width:244px !important;"/>
                    <!--<#select id="siteFlag" name="默认栏目" underline="true" >
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </#select>-->
                </div>

                <div class="col-sm-6">
                    <#input id="linkUrl" name="请求地址" underline="true" type="text" readonly="readonly" />
                    <#input id="pri" name="排序" underline="true" type="text" />
                    <#select id="jumpType" name="跳转类型" underline="true" >
                        <option value="list">列表页</option>
                        <option value="details">详情页</option>
                        <option value="home">首页</option>
                        <option value="listbtn">下拉菜单</option>
                    </#select>
                </div>

                <div class="col-sm-12">
                    <div class="form-group" hidden id="editorForm">
                        <label class="col-sm-1 control-label">内容</label>
                        <div class="col-sm-11">
                            <div id="editor" class="editorHeight">
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TopMenuInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TopMenuInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script type="text/javascript" src="${ctxPath}/static/js/plugins/wangEditor/wangEditor.js"></script>
<script src="${ctxPath}/static/modular/hp/topmenu/topmenu_info.js"></script>
@}
